package com.atgm.mall.gmmailmember.service;

import com.atgm.mall.gmmailmember.entity.MemberThumbsCommentEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface MemberThumbsCommentService extends IService<MemberThumbsCommentEntity> {

    /**
     * 修改评论点赞数量
     * @param commentId
     * @param memberId
     */
    Integer updateCommentThumbs(Long commentId, Long memberId);

    /**
     * 获取用户点赞的评论id
     * @param memberId
     * @return
     */
    List<Long> haveCommentThumbsId(Long memberId);
}
